<?php

class GreenAction extends CommonAction {
    
    public function index() {
        
    	$times = M("Greencms");
    	$times->where('id=1')->setInc('times', 1);
        
        $ips = M("Ip");
        $data['ip'] = get_client_ip();
        $ips->data($data)->add();               
        
    }
    
}